package com.example.position.demo.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author zhaoerqi
 * @Date 8/27/21
 */
@Data
@Entity
@Table(name = "user")
public class User implements Serializable {

    @Id
    private String id;

    private String userName;

    private String password;

    private String nickname;

}
